package org.nf.web.servlet;

import jakarta.servlet.ServletException;
import jakarta.servlet.http.HttpServletRequest;
import jakarta.servlet.http.HttpServletResponse;
import java.io.IOException;

/**
 * @author wangliang
 * @date 2023/4/19
 * 请求处理控制器接口
 */
public interface Controller {

    /**
     * 请求处理方法
     */
    BaseView execute(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException;
}
